package com.springboot2.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Resource {
    private Integer id;
    private String resourceName;
    private String resourceNickname;
    private String resourceDescription;
    private Date resourceDate;
    private Integer pid;
    @TableField(exist = false)
    private List<Resource> children;
}
